package com.suda.sudaexamsystem.dto;

import java.util.Date;

public class NoticeDto {
    private int id;
    // 发布人员
    private UserDto user;
    // 发布时间
    private Date publishTime;
    // 标题
    private String title;
    // 内容
    private String content;

    public NoticeDto(int id, UserDto user, Date publishTime, String title, String content) {
        this.id = id;
        this.user = user;
        this.publishTime = publishTime;
        this.title = title;
        this.content = content;
    }

    public NoticeDto() {
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public UserDto getUser() {
        return user;
    }

    public void setUser(UserDto user) {
        this.user = user;
    }

    public Date getPublishTime() {
        return publishTime;
    }

    public void setPublishTime(Date publishTime) {
        this.publishTime = publishTime;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
